Skip to content

Upgrade Compose BOM to 2026.11.01, migrate sliders and require SDK 37.1 - #2913

Merged
Henrik Sym (henrik-sky) merged 4 commits into
mainfrom
dependabot/gradle/androidx.compose-compose-bom-2026.11.01
Dec 3, 2026
Merged

Henrik Sym (henrik-sky) merged 4 commits into
mainfrom
dependabot/gradle/androidx.compose-compose-bom-2026.11.01

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Upgrades the Compose BOM from 2026.09.00 to 2026.11.01 (Compose UI/Foundation/Runtime 1.13.0 and Material3 1.5.0), and adapts Backpack to the new Material3 APIs.

Migration

  • Replace the old Material3 slider overloads with remembered SliderState and RangeSliderState, while preserving Backpack's existing value-based public APIs and callbacks.
  • Synchronize controlled values and recreate state when the range or steps change. Update range endpoints in the correct order so disjoint programmatic changes are not clamped against the previous endpoint.
  • Update slider track accessors and the ExposedDropdownMenu import for the new APIs.
  • Add regression tests for controlled slider values, configuration changes, disjoint ranges and accessibility progress actions.

Consumer requirement: Android SDK 37.1

Compose UI 1.13.0 requires Android SDK 37.1. This PR sets compileSdk = 37 and compileSdkMinor = 1 in Backpack's shared Android configuration. Consuming apps must also install SDK 37.1 and set these compile SDK values before adopting this Backpack update. The existing minimum and target SDK settings are unchanged.

Validation

  • CI build, lint, unit tests, Android tests and all screenshot variants passed.
  • Android Studio: 5 slider, 10 select and 20 tooltip tests passed locally, including the slider regression tests and the select keyboard-opening test.
  • The three tooltip screenshot updates have identical pixels to the base images; only PNG encoding changed.
  • Device touch, keyboard and TalkBack behaviour has not been manually verified.

Material3 1.5.0 release notes


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps androidx.compose:compose-bom from 2026.09.00 to 2026.11.01.

---
updated-dependencies:
- dependency-name: androidx.compose:compose-bom
  dependency-version: 2026.11.01
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Nov 30, 2026
Copilot AI lite review requested due to automatic review settings November 30, 2026 19:05
@skyscanner-dependabot

Copy link
Copy Markdown

By approving this PR, you are confirming that you have adequately and effectively reviewed this change.

Searchable Hashes
  • 31104487d7865d065602473b2074611d
  • a048300338a05bde6340b8700b30b505

The above information was added by dependabot-augmentor.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

No open issues 🎉

What changed in this PR

Updates the project’s Jetpack Compose Bill of Materials (BOM) to a newer release via Dependabot.

Changes:

  • Bumped androidx.compose:compose-bom from 2026.09.00 to 2026.11.01.
File Description
gradle/​libs.versions.toml Updates the Compose BOM version used for Compose dependency alignment.

Review effort: Lite

Copilot AI lite review requested due to automatic review settings December 1, 2026 15:43
@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor
Warnings
⚠️

One or more component files were updated, but the docs screenshots weren't updated. If the changes are visual or it is a new component please regenerate the screenshots via ./gradlew recordScreenshots.

⚠️

One or more component files were updated, but README.md wasn't updated. If your change contains API changes/additions or a new component please update the relevant component README.

Generated by 🚫 Danger Kotlin against 0306986

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

5 open issues

Review effort: Lite

Comment on lines +72 to +87
val rangeSliderState = remember(steps, minValue, maxValue) {
RangeSliderState(
startValue = value.start,
endValue = value.endInclusive,
steps = steps,
trackRange = minValue..maxValue,
)
}
// Move the upper bound first when the controlled range shifts beyond the previous end.
if (value.start > rangeSliderState.endValue) {
rangeSliderState.endValue = value.endInclusive
rangeSliderState.startValue = value.start
} else {
rangeSliderState.startValue = value.start
rangeSliderState.endValue = value.endInclusive
}
Comment on lines +42 to +45
val sliderState = remember(steps, minValue, maxValue) {
SliderState(value = value, steps = steps, trackRange = minValue..maxValue)
}
sliderState.value = value
Comment on lines 247 to +251
internal val RangeSliderState.coercedActiveRangeStartAsFraction
get() = calcFraction(valueRange.start, valueRange.endInclusive, activeRangeStart)
get() = calcFraction(trackRange.start, trackRange.endInclusive, startValue)

internal val RangeSliderState.coercedActiveRangeEndAsFraction
get() = calcFraction(valueRange.start, valueRange.endInclusive, activeRangeEnd)
get() = calcFraction(trackRange.start, trackRange.endInclusive, endValue)
Comment on lines +39 to 40
compileSdkMinor = SdkVersions.COMPILE_SDK_MINOR


configure<LibraryExtension> {
compileSdk = 37
compileSdkMinor = 1
Copilot AI lite review requested due to automatic review settings December 1, 2026 16:15
@henrik-sky Henrik Sym (henrik-sky) added major A breaking API change and removed dependencies Pull requests that update a dependency file labels Dec 1, 2026
@henrik-sky Henrik Sym (henrik-sky) changed the title Bump androidx.compose:compose-bom from 2026.09.00 to 2026.11.01 Upgrade Compose BOM to 2026.11.01, migrate sliders and require SDK 37.1 Dec 1, 2026
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file and removed major A breaking API change labels Dec 1, 2026
@henrik-sky Henrik Sym (henrik-sky) added major A breaking API change and removed dependencies Pull requests that update a dependency file labels Dec 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Note

This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@henrik-sky
Henrik Sym (henrik-sky) merged commit 127bea6 into main Dec 3, 2026
21 checks passed
@henrik-sky
Henrik Sym (henrik-sky) deleted the dependabot/gradle/androidx.compose-compose-bom-2026.11.01 branch December 3, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

java Pull requests that update Java code major A breaking API change minorDependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants